#include <iostream>
#include <cstdlib>
using namespace std;

int main()
{
   int a,b,c;
   cin >> a >> b >> c;
   int m = a>b ? a :b;
   if(m>c)
   cout << m;
   else
   cout << c;
 } 
